package com.fenghuaxz.rpcframework;

import io.netty.channel.Channel;

public interface OnLimitChannelListener {

    /**
     * 信任策略
     * @param context
     * @param channel
     * @return true :信任 false :拒绝
     * @throws Exception
     */
    boolean isBelieve(BaseContext context, Channel channel) throws Exception;
}
